package cn.itsource.hrm.dot;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Pattern;

@Data
public class SendSmsCodeDto {
    @NotBlank(message = "验证码不能为空")
    private String imageCode;
    @NotBlank(message = "请刷新页面！！！")
    private String imageCodeKey;
    @Pattern(regexp = "13[0-9]\\d{8}|15[1089]\\d{8}",message = "电话格式不正确")
    private String mobile;

}
